home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / STUTTGART / ETC / AIM / !aim_macros_exam5 < prev    next >
Encoding:
Text File  |  1990-09-07  |  609 b   |  15 lines

  1. * example of image analysis
  2. *
  3. read cermet a        * read cermet image
  4. clear b              * clear the bitplanes
  5. thr                  * theshold the image (using defaults)
  6. inv 1                * make objects white (default: image B)
  7. propag 511,2,1,8,1,b * propagate the edge
  8. exor 1,2,1           * remove object connected to the edge
  9. measure              * measure the white objects
  10. don 2                * automatic stretching
  11. label b,c,1,8        * "label" the objects
  12. don                  * back to normal display
  13.                      * .. effective at the next
  14.                      * .. display operation
  15.